-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fleet] Adjust add integration flow #101714
[Fleet] Adjust add integration flow #101714
Conversation
- added link to the integrations UI instead of add integration in fleet - added a new piece of route state that gets passed to integration from fleet when browsing integrations for a policy - when the integration is being added the page will send the user back to the policy overview instead of back to integrations UI
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
merge conflict between base and head |
…add-integrations-redirect * 'master' of github.com:elastic/kibana: (44 commits) Allow navigating discover flyout via arrow keys (elastic#101772) [Cases] Improve connectors mapping (elastic#101145) [ML] Fixes display of job group badges in recognizer wizard (elastic#101775) Fix es_archives path (elastic#101737) [kbnArchiver] convert archive names to root-relative paths (elastic#101839) [Reporting] Make "ScreenCapturePanel" shareable for Canvas (elastic#100623) [Alerting UI] Converted Rules and Connectors management pages to new layout. (elastic#101697) [Fleet] Support granular integrations in policy editor (elastic#101531) [Security Solution][Detections] Update detection alert mappings to ECS v1.10.0 (elastic#101680) [Fleet] Integrations UI: Adjust policies list UI (elastic#101600) chore(NA): moving @kbn/server-route-repository into bazel (elastic#101484) Support owner and description attributes inside the Manifest file, use in API docs (elastic#101786) [Security Solution] fix security empty overview links (elastic#101536) Unskips migration tests now that elastic search is fixed (elastic#101682) Fix endpoint -> integrations onboarding link (elastic#101804) [Alerting] Log warning when rules are not rescheduled due to Saved Object not found error (elastic#101591) Update datafeed_high_count_network_denies.json (elastic#101681) [Index patterns] Field editor example app (elastic#100524) [DOCS] Adding file upload to add data page (elastic#101674) [Security Solution][Endpoint] Adds Endpoint Host Isolation Status common component (elastic#101782) ... # Conflicts: # x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx # x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx
Pinging @elastic/fleet (Team:Fleet) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! No issues with code from me, and the intra-app state seems to work well. Awesome work 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a quick test locally with granular integrations and it works really nicely with that too! Left a small comment but otherwise LGTM 🚀
@@ -459,7 +451,8 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { | |||
)} | |||
<StepsWithLessPadding steps={steps} /> | |||
<EuiSpacer size="l" /> | |||
<EuiBottomBar> | |||
{/* Note: we set a relatively _low_ zIndex value here to account for EuiComboBox popover that might appear under the bottom bar */} | |||
<EuiBottomBar style={{ zIndex: 50 }}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can we use styled
instead of this inline style?
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Public APIs missing comments
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @jloleysens |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM
* Initial commit, very WIP - added link to the integrations UI instead of add integration in fleet - added a new piece of route state that gets passed to integration from fleet when browsing integrations for a policy - when the integration is being added the page will send the user back to the policy overview instead of back to integrations UI * remove unnecessary agent policy clear function * added # to path so that navigation is correctly handled * added logic to read the forward agent policy id * remove inline select integration package from fleet add integration * updated toast notification * using query parameter to pass policy id back to create policy package page * removed policyId from route path * fix type issue * updated the select agent field layout per the designs * simpified item rendering in combobox and fixed combobox z-index issue * added comment * fix types and i18n * updated icon and removed unused i18n * refactor to using styled components for cusomt z-index styling * attempt to fix integration test * added scroll functionality for dealing with fixed footers that might be obstructing content * fix scroll direction! * attempting another scroll algorithm Co-authored-by: Kibana Machine <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* Initial commit, very WIP - added link to the integrations UI instead of add integration in fleet - added a new piece of route state that gets passed to integration from fleet when browsing integrations for a policy - when the integration is being added the page will send the user back to the policy overview instead of back to integrations UI * remove unnecessary agent policy clear function * added # to path so that navigation is correctly handled * added logic to read the forward agent policy id * remove inline select integration package from fleet add integration * updated toast notification * using query parameter to pass policy id back to create policy package page * removed policyId from route path * fix type issue * updated the select agent field layout per the designs * simpified item rendering in combobox and fixed combobox z-index issue * added comment * fix types and i18n * updated icon and removed unused i18n * refactor to using styled components for cusomt z-index styling * attempt to fix integration test * added scroll functionality for dealing with fixed footers that might be obstructing content * fix scroll direction! * attempting another scroll algorithm Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Jean-Louis Leysens <[email protected]>
* Initial commit, very WIP - added link to the integrations UI instead of add integration in fleet - added a new piece of route state that gets passed to integration from fleet when browsing integrations for a policy - when the integration is being added the page will send the user back to the policy overview instead of back to integrations UI * remove unnecessary agent policy clear function * added # to path so that navigation is correctly handled * added logic to read the forward agent policy id * remove inline select integration package from fleet add integration * updated toast notification * using query parameter to pass policy id back to create policy package page * removed policyId from route path * fix type issue * updated the select agent field layout per the designs * simpified item rendering in combobox and fixed combobox z-index issue * added comment * fix types and i18n * updated icon and removed unused i18n * refactor to using styled components for cusomt z-index styling * attempt to fix integration test * added scroll functionality for dealing with fixed footers that might be obstructing content * fix scroll direction! * attempting another scroll algorithm Co-authored-by: Kibana Machine <[email protected]>
Summary
How to test
Screenshots
Redesigned add to policy step:
Just before choosing a package, we might consider this for a future update:
Checklist
Delete any items that are not applicable to this PR.
Risk Matrix